<?php $this->_extends('_layouts/message_layout'); ?>
<?php $this->_block('contents'); ?>
<div style="padding-top: 20px">
<div style="margin: 0 auto; width: 600px">
<div
	style="width: 500px; margin: 0 auto;">
<div class="left" style="margin-right: 20px">
<h2><?php echo $message_caption; ?></h2>
</div>
<div class="left"
	style="width: 420px; line-height: 20px; font-size: 14px;">
      <?php if (is_array($message_body)): ?>
      <?php foreach ($message_body as $message): ?>
      	<div> <?php echo nl2br(h($message)); ?> </div>
      <?php endforeach; ?>
      <?php else:?>
      <div> <?php echo nl2br(h($message_body)); ?> </div>
      <?php endif;?>
        <div><a href="<?php echo $redirect_url; ?>" target="_self"><font
	color="#0000FF">如果长时间没有反应,请点击这里直接跳转...</font></a></div>
</div>
<div class="clear"></div>
</div>
</div>
</div>
<script type="text/javascript">
setTimeout("window.location.href ='<?php echo $redirect_url; ?>';", <?php echo $redirect_delay * 1000; ?>);
</script>
<?php echo $hidden_script; ?>
<?php $this->_endblock(); ?>